package springboot.service;


import springboot.bean.AgvTaskReturn;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import java.util.Date;


@WebService(name = "AgvService", //暴露服务名称
        targetNamespace = "http://service.springboot/"// 命名空间,一般是接口的包名倒序
)
public interface AgvService {

    @WebMethod
    public AgvTaskReturn sendAgvTask(@WebParam(name = "taskNo")String taskNo,
                                     @WebParam(name = "source")String source,
                                     @WebParam(name = "destination")String destination,
                                     @WebParam(name = "status")String status,
                                     @WebParam(name = "agvId")String agvId,
                                     @WebParam(name = "creatData") Date creatData,
                                     @WebParam(name = "isClosed")String isClosed);
    @WebMethod
    public String returnAgvStatus(@WebParam(name = "factoryId")String factoryId);

}
